package cn.sportvip.entity.sport;

import java.util.HashSet;
import java.util.Set;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import cn.sportvip.Sport.AGE;

/**
 * 课程
 * @author tao
 */
@Document
public class CourseBasic{
	@Id
	private int courseId;
	/**适合那些年龄段*/
	private Set<AGE> age = new HashSet<>(0);
	/**属于什么项目*/
	private Event event;
	private String address;
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public Set<AGE> getAge() {
		return age;
	}
	public void setAge(Set<AGE> age) {
		this.age = age;
	}
	public Event getEvent() {
		return event;
	}
	public void setEvent(Event event) {
		this.event = event;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
}
